FROM openjdk:21-slim

ADD target/*-execute.jar  /app.jar

#持久化目录
VOLUME /logs

ENTRYPOINT ["sh","-c","exec java $JAVA_OPTS $PARAMS -jar /app.jar"]